package com.lizemin.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @author: lizemin
 * @version: 1.0
 * 年级类
 */
@Data
@ToString
public class Grade implements Serializable {
    private Integer id ; //
    private String name ; //
    private Set<Student> students = new HashSet<>();

}
